Creates a new Setting.
Supply the appropriate Create Request object for either Feature flag or User setting.
The setting to create
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "defaultValue": null,
- "name": "string",
- "value": null,
- "valueType": "boolean",
- "scope": {
- "type": "user",
- "id": "string",
- "role": "owner",
- "preventOverride": true,
- "visible": true
}, - "metadata": {
- "property1": null,
- "property2": null
}, - "settingType": "feature_flag"
}
{- "id": "string",
- "defaultValue": null,
- "name": "string",
- "value": null,
- "valueType": "boolean",
- "scope": {
- "type": "user",
- "id": "string",
- "role": "owner",
- "preventOverride": true,
- "visible": true
}, - "metadata": {
- "property1": null,
- "property2": null
}, - "settingType": "feature_flag",
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "expiredAt": "2019-08-24T14:15:22Z",
- "expired": true
}